/**
 * Copyright (c) 2016-2019 九点科技 All rights reserved.
 *
 * http://www.9dyun.cn
 *
 * 版权所有，侵权必究！
 */
package com.dian.modules.sale.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.dian.common.vo.BaseVO;
import lombok.Data;
import java.util.Date;
import java.util.List;
/**
 * 销售订单表导出主类VO
 *
 * @author xiaolai
 * @email xiaolai@9dyun.cn
 * @date 2019-06-20 09:54:25
 */
@Data
@ExcelTarget("orderHeadExportVO")
public class OrderHeadExportVO  extends BaseVO {
	private static final long serialVersionUID = 1L;

    /**
	 * 订单编码
	 */
    @Excel(name = "订单编码",needMerge = true)
    private String orderNo;
    /**
	 * 订单日期;format:yyyy-MM-dd;readonly
	 */
    @Excel(name = "订单日期", exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date orderDate;
    /**
	 * 门店名称;来源于base_store.customer_name
	 */
    @Excel(name = "门店名称",needMerge = true)
    private String storeName;
    /**
	 * 客户编码;来源于base_customer.customer_code
	 */
    @Excel(name = "客户编码",needMerge = true)
    private String customerCode;
    /**
	 * 客户名称;来源于base_customer.customer_name;readonly
	 */
    @Excel(name = "客户名称",needMerge = true)
    private String customerName;
    /**
	 * 客户联系人;来源于base_customer.customer_contact_name;readonly
	 */
    @Excel(name = "客户联系人",needMerge = true)
    private String customerContactName;
    /**
	 * 客户电话;来源于base_customer.customer_tel;readonly
	 */
    @Excel(name = "客户电话",needMerge = true)
    private String customerContactTel;
    /**
	 * 送货地址;来源于base_customer.customer_add;readonly
	 */
    @Excel(name = "送货地址",needMerge = true,width = 50)
    private String customerContactAdd;
    /**
	 * 导购员名称;来源于sys_user.user_name
	 */
    @Excel(name = "导购员名称",needMerge = true)
    private String guideName;
    /**
	 * 订单状态:1-未审核-WAITCHECK;2-已审核-AUDITED-;99-已作废-INVALID;readonly
	 */
    @Excel(name = "订单状态", replace = {"未审核_1","已审核_2","已作废_99"},needMerge = true)
    private Integer orderState;
    /**
     * 审核审核人
     */
    @Excel(name = "审核人",needMerge = true)
    private String checkUserName;
    /**
	 * 审核时间;format:yyyy-MM-dd HH:mm:ss;readonly
	 */
    @Excel(name = "审核时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date checkDate;
    /**
	 * 订单类型:1-产品-PRODUCT;2-辅料-ACCES
	 */
    @Excel(name = "订单类型", replace = {"产品_1","辅料_2"},needMerge = true)
    private Integer orderType;
    /**
	 * 安装日期;format:yyyy-MM-dd;readonly
	 */
    @Excel(name = "安装日期", exportFormat = "yyyy-MM-dd",needMerge = true)
    private Date installDate;
    /**
	 * 安装标记:1-未安装-NO;2-已安装-YES;readonly
	 */
    @Excel(name = "安装标记", replace = {"未安装_1","已安装_2"},needMerge = true)
    private Integer installFlag;
    /**
	 * 量尺标记:1-未量尺-NO;2-已量尺-YES;readonly
	 */
    @Excel(name = "量尺标记", replace = {"未量尺_1","已量尺_2"},needMerge = true)
    private Integer rulerFlag;
    /**
	 * 备注
	 */
    @Excel(name = "备注",needMerge = true)
    private String remark;
    /**
	 * 创建人
	 */
    @Excel(name = "创建人",needMerge = true)
    private String createUserName;
    /**
	 * 创建时间
	 */
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date createTime;
    /**
	 * 修改人
	 */
    @Excel(name = "修改人",needMerge = true)
    private String updateUserName;
    /**
	 * 修改时间
	 */
    @Excel(name = "修改时间", exportFormat = "yyyy-MM-dd HH:mm:ss",needMerge = true)
    private Date updateTime;
    /**
     * 销售订单明细表
     */
    @ExcelCollection(name = "销售订单明细表")
    private List<OrderLineExportVO> orderLineExportVOList;
}
